<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GnomeVFSResult</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GnomeVFS - Filesystem Abstraction library">
<link rel="up" href="data-types.html" title="Basic Data Types">
<link rel="prev" href="data-types.html" title="Basic Data Types">
<link rel="next" href="gnome-vfs-2.0-gnome-vfs-uri.html" title="GnomeVFSURI">
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="data-types.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="data-types.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GnomeVFS - Filesystem Abstraction library</th>
<td><a accesskey="n" href="gnome-vfs-2.0-gnome-vfs-uri.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gnome-vfs-2.0-gnome-vfs-result.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#gnome-vfs-2.0-gnome-vfs-result.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="gnome-vfs-2.0-gnome-vfs-result"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gnome-vfs-2.0-gnome-vfs-result.top_of_page"></a>GnomeVFSResult</span></h2>
<p>GnomeVFSResult — Result of I/O operations, the equivalent of errno</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gnome-vfs-2.0-gnome-vfs-result.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">enum                <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult">GnomeVFSResult</a>;
const <span class="returnvalue">char</span> *        <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#gnome-vfs-result-to-string" title="gnome_vfs_result_to_string ()">gnome_vfs_result_to_string</a>          (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> result</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#gnome-vfs-result-from-errno-code" title="gnome_vfs_result_from_errno_code ()">gnome_vfs_result_from_errno_code</a>    (<em class="parameter"><code><span class="type">int</span> errno_code</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#gnome-vfs-result-from-errno" title="gnome_vfs_result_from_errno ()">gnome_vfs_result_from_errno</a>         (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#gnome-vfs-result-from-h-errno" title="gnome_vfs_result_from_h_errno ()">gnome_vfs_result_from_h_errno</a>       (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#gnome-vfs-result-from-h-errno-val" title="gnome_vfs_result_from_h_errno_val ()">gnome_vfs_result_from_h_errno_val</a>   (<em class="parameter"><code><span class="type">int</span> h_errno_code</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="gnome-vfs-2.0-gnome-vfs-result.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="gnome-vfs-2.0-gnome-vfs-result.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GnomeVFSResult"></a><h3>enum GnomeVFSResult</h3>
<pre class="programlisting">typedef enum {
	GNOME_VFS_OK,
	GNOME_VFS_ERROR_NOT_FOUND,
	GNOME_VFS_ERROR_GENERIC,
	GNOME_VFS_ERROR_INTERNAL,
	GNOME_VFS_ERROR_BAD_PARAMETERS,
	GNOME_VFS_ERROR_NOT_SUPPORTED,
	GNOME_VFS_ERROR_IO,
	GNOME_VFS_ERROR_CORRUPTED_DATA,
	GNOME_VFS_ERROR_WRONG_FORMAT,
	GNOME_VFS_ERROR_BAD_FILE,
	GNOME_VFS_ERROR_TOO_BIG,
	GNOME_VFS_ERROR_NO_SPACE,
	GNOME_VFS_ERROR_READ_ONLY,
	GNOME_VFS_ERROR_INVALID_URI,
	GNOME_VFS_ERROR_NOT_OPEN,
	GNOME_VFS_ERROR_INVALID_OPEN_MODE,
	GNOME_VFS_ERROR_ACCESS_DENIED,
	GNOME_VFS_ERROR_TOO_MANY_OPEN_FILES,
	GNOME_VFS_ERROR_EOF,
	GNOME_VFS_ERROR_NOT_A_DIRECTORY,
	GNOME_VFS_ERROR_IN_PROGRESS,
	GNOME_VFS_ERROR_INTERRUPTED,
	GNOME_VFS_ERROR_FILE_EXISTS,
	GNOME_VFS_ERROR_LOOP,
	GNOME_VFS_ERROR_NOT_PERMITTED,
	GNOME_VFS_ERROR_IS_DIRECTORY,
	GNOME_VFS_ERROR_NO_MEMORY,
	GNOME_VFS_ERROR_HOST_NOT_FOUND,
	GNOME_VFS_ERROR_INVALID_HOST_NAME,
	GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS,
	GNOME_VFS_ERROR_LOGIN_FAILED,
	GNOME_VFS_ERROR_CANCELLED,
	GNOME_VFS_ERROR_DIRECTORY_BUSY,
	GNOME_VFS_ERROR_DIRECTORY_NOT_EMPTY,
	GNOME_VFS_ERROR_TOO_MANY_LINKS,
	GNOME_VFS_ERROR_READ_ONLY_FILE_SYSTEM,
	GNOME_VFS_ERROR_NOT_SAME_FILE_SYSTEM,
	GNOME_VFS_ERROR_NAME_TOO_LONG,
	GNOME_VFS_ERROR_SERVICE_NOT_AVAILABLE,
	GNOME_VFS_ERROR_SERVICE_OBSOLETE,
	GNOME_VFS_ERROR_PROTOCOL_ERROR,
	GNOME_VFS_ERROR_NO_MASTER_BROWSER,
	GNOME_VFS_ERROR_NO_DEFAULT,
	GNOME_VFS_ERROR_NO_HANDLER,
	GNOME_VFS_ERROR_PARSE,
	GNOME_VFS_ERROR_LAUNCH,
	GNOME_VFS_ERROR_TIMEOUT,
	GNOME_VFS_ERROR_NAMESERVER,
	GNOME_VFS_ERROR_LOCKED,
	GNOME_VFS_ERROR_DEPRECATED_FUNCTION,
	GNOME_VFS_ERROR_INVALID_FILENAME,
	GNOME_VFS_ERROR_NOT_A_SYMBOLIC_LINK,
	GNOME_VFS_NUM_ERRORS
} GnomeVFSResult;
</pre>
<p>
A <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> informs library clients about the result of a file operation.
Unless it is <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GNOME-VFS-OK:CAPS"><span class="type">GNOME_VFS_OK</span></a>, it denotes that a problem occurred and the operation
could not be executed successfully.
</p>
<p>
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#gnome-vfs-result-to-string" title="gnome_vfs_result_to_string ()"><code class="function">gnome_vfs_result_to_string()</code></a> provides a textual representation of <a href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult"><span class="type">GnomeVFSResults</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GNOME-VFS-OK:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_OK</code></span></p></td>
<td>No error.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-NOT-FOUND:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_NOT_FOUND</code></span></p></td>
<td>File not found.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-GENERIC:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_GENERIC</code></span></p></td>
<td>Generic error.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-INTERNAL:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_INTERNAL</code></span></p></td>
<td>Internal error.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-BAD-PARAMETERS:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_BAD_PARAMETERS</code></span></p></td>
<td>Invalid parameters.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-NOT-SUPPORTED:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_NOT_SUPPORTED</code></span></p></td>
<td>Unsupported operation.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-IO:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_IO</code></span></p></td>
<td>I/O error.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-CORRUPTED-DATA:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_CORRUPTED_DATA</code></span></p></td>
<td>Data corrupted.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-WRONG-FORMAT:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_WRONG_FORMAT</code></span></p></td>
<td>Format not valid.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-BAD-FILE:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_BAD_FILE</code></span></p></td>
<td>Bad file handle.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-TOO-BIG:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_TOO_BIG</code></span></p></td>
<td>File too big.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-NO-SPACE:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_NO_SPACE</code></span></p></td>
<td>No space left on device.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-READ-ONLY:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_READ_ONLY</code></span></p></td>
<td>Read-only file system.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-INVALID-URI:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_INVALID_URI</code></span></p></td>
<td>Invalid URI.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-NOT-OPEN:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_NOT_OPEN</code></span></p></td>
<td>File not open.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-INVALID-OPEN-MODE:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_INVALID_OPEN_MODE</code></span></p></td>
<td>Open mode not valid.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-ACCESS-DENIED:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_ACCESS_DENIED</code></span></p></td>
<td>Access denied.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-TOO-MANY-OPEN-FILES:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_TOO_MANY_OPEN_FILES</code></span></p></td>
<td>Too many open files.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-EOF:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_EOF</code></span></p></td>
<td>End of file.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-NOT-A-DIRECTORY:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_NOT_A_DIRECTORY</code></span></p></td>
<td>Not a directory.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-IN-PROGRESS:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_IN_PROGRESS</code></span></p></td>
<td>Operation in progress.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-INTERRUPTED:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_INTERRUPTED</code></span></p></td>
<td>Operation interrupted.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-FILE-EXISTS:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_FILE_EXISTS</code></span></p></td>
<td>File exists.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-LOOP:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_LOOP</code></span></p></td>
<td>Looping links encountered.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-NOT-PERMITTED:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_NOT_PERMITTED</code></span></p></td>
<td>Operation not permitted.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-IS-DIRECTORY:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_IS_DIRECTORY</code></span></p></td>
<td>Is a directory.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-NO-MEMORY:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_NO_MEMORY</code></span></p></td>
<td>Not enough memory.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-HOST-NOT-FOUND:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_HOST_NOT_FOUND</code></span></p></td>
<td>Host not found.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-INVALID-HOST-NAME:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_INVALID_HOST_NAME</code></span></p></td>
<td>Host name not valid.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-HOST-HAS-NO-ADDRESS:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS</code></span></p></td>
<td>Host has no address.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-LOGIN-FAILED:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_LOGIN_FAILED</code></span></p></td>
<td>Login failed.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-CANCELLED:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_CANCELLED</code></span></p></td>
<td>Operation cancelled.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-DIRECTORY-BUSY:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_DIRECTORY_BUSY</code></span></p></td>
<td>Directory busy.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-DIRECTORY-NOT-EMPTY:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_DIRECTORY_NOT_EMPTY</code></span></p></td>
<td>Directory not empty.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-TOO-MANY-LINKS:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_TOO_MANY_LINKS</code></span></p></td>
<td>Too many links.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-READ-ONLY-FILE-SYSTEM:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_READ_ONLY_FILE_SYSTEM</code></span></p></td>
<td>Read only file system.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-NOT-SAME-FILE-SYSTEM:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_NOT_SAME_FILE_SYSTEM</code></span></p></td>
<td>Not on the same file system.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-NAME-TOO-LONG:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_NAME_TOO_LONG</code></span></p></td>
<td>Name too long.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-SERVICE-NOT-AVAILABLE:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_SERVICE_NOT_AVAILABLE</code></span></p></td>
<td>Service not available.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-SERVICE-OBSOLETE:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_SERVICE_OBSOLETE</code></span></p></td>
<td>Request obsoletes service's data.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-PROTOCOL-ERROR:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_PROTOCOL_ERROR</code></span></p></td>
<td>Protocol error.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-NO-MASTER-BROWSER:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_NO_MASTER_BROWSER</code></span></p></td>
<td>Could not find master browser.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-NO-DEFAULT:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_NO_DEFAULT</code></span></p></td>
<td>No default action associated.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-NO-HANDLER:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_NO_HANDLER</code></span></p></td>
<td>No handler for URL scheme.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-PARSE:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_PARSE</code></span></p></td>
<td>Error parsing command line.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-LAUNCH:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_LAUNCH</code></span></p></td>
<td>Error launching command.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-TIMEOUT:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_TIMEOUT</code></span></p></td>
<td>Timeout reached.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-NAMESERVER:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_NAMESERVER</code></span></p></td>
<td>Nameserver error.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-LOCKED:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_LOCKED</code></span></p></td>
<td>The resource is locked.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-DEPRECATED-FUNCTION:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_DEPRECATED_FUNCTION</code></span></p></td>
<td>Function call deprecated.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-INVALID-FILENAME:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_INVALID_FILENAME</code></span></p></td>
<td>The specified filename is invalid.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-ERROR-NOT-A-SYMBOLIC-LINK:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_ERROR_NOT_A_SYMBOLIC_LINK</code></span></p></td>
<td>Not a symbolic link.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-NUM-ERRORS:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_NUM_ERRORS</code></span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-result-to-string"></a><h3>gnome_vfs_result_to_string ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        gnome_vfs_result_to_string          (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> result</code></em>);</pre>
<p>
Returns a string representing <em class="parameter"><code>result</code></em>, useful for debugging
purposes, but probably not appropriate for passing to the user.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> to convert to a string.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a string representing <em class="parameter"><code>result</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-result-from-errno-code"></a><h3>gnome_vfs_result_from_errno_code ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_result_from_errno_code    (<em class="parameter"><code><span class="type">int</span> errno_code</code></em>);</pre>
<p>
Converts a system errno value to a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>errno_code</code></em> :</span></p></td>
<td>integer of the same type as the system "errno".
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> equivalent to <em class="parameter"><code>errno_code</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-result-from-errno"></a><h3>gnome_vfs_result_from_errno ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_result_from_errno         (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Converts the system errno to a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> equivalent to the current system errno.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-result-from-h-errno"></a><h3>gnome_vfs_result_from_h_errno ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_result_from_h_errno       (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Converts the system "h_errno" to a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> (h_errno represents errors
accessing and finding internet hosts)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> equivalent to the current system "h_errno".
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-result-from-h-errno-val"></a><h3>gnome_vfs_result_from_h_errno_val ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_result_from_h_errno_val   (<em class="parameter"><code><span class="type">int</span> h_errno_code</code></em>);</pre>
<p>
Converts the error code <em class="parameter"><code>h_errno_code</code></em> into a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>h_errno_code</code></em> :</span></p></td>
<td>an integer representing the same error code
as the system h_errno.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> equivalent to the <em class="parameter"><code>h_errno_code</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15.1</div>
</body>
</html>